<!DOCTYPE html>
<html>


<!-- Mirrored from www.zi-han.net/theme/hplus/empty_page.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:19:52 GMT -->
<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>审批站点</title>
    <meta name="keywords" content="第八站,审批站点,后台HTML,响应式后台">
    <meta name="description" content="第八站管理后台">

    <link rel="shortcut icon" href="favicon.ico"> 
    <link href="css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <link href="css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link href="css/animate.min.css" rel="stylesheet">
    <link href="css/style.min862f.css?v=4.1.0" rel="stylesheet">
    <link rel="stylesheet" href="css/common.css">
</head>

<body class="gray-bg">
    <div class="row wrapper border-bottom white-bg page-heading">
        <div class="col-sm-4">
            <h2>审批站点</h2>
            <ol class="breadcrumb">
                <li>
                    <a href="index-2.html">主页</a>
                </li>
                <li>
                    <span>站点管理</span>
                </li>
                <li>
                    <span>站点档案</span>
                </li>
                <li>
                    <strong>审批站点</strong>
                </li>
            </ol>
        </div>
        <div class="col-sm-8">
            <div class="title-action">
                <!-- <a href="empty_page.html" class="btn btn-primary">活动区域</a> -->
            </div>
        </div>
    </div>

    <div class="wrapper wrapper-content">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-content">
                         <!--  <div class="row">
                            <div class="col-sm-12">
                                <form class="form-horizontal" role="form">
                                  <div class="form-group draggable ui-draggable">
                                        <label class="col-sm-1 control-label autoW">审核状态</label>
                                        <div class="col-sm-2 padding-l">
                                            <select class="form-control" name="">
                                                <option value="1">待审核</option>
                                                <option value="2">已通过</option>
                                                <option value="3">已拒绝</option>
                                            </select>
                                        </div>
                                    </div>
                                </form>
                            </div>
                            
                        </div> -->
                           <div class="row">
                            <div class="col-sm-12">
                                <dl class=" pull-right">
                                    <button type="button" class="btn btn-success import-excel">批量导入</button>
                                </dl>
                                <table id="sort" class="table table-bordered table-hover">
                                    <thead>
                                        <tr>
                                            <th width="100px">序号</th>
                                            <th>网站标题</th>
                                            <th>网站URL</th>
                                            <th>网站缩略图</th>
                                            <th>商品标签</th>
                                            <th>权重</th>
                                            <th>网站流量</th>
                                            <th>日IP</th>
                                            <th>卖家联系方式</th>
                                            <th>收录量</th>
                                            <th>是否有手机网站</th>
                                            <th>移动端权重</th>
                                            <th>服务器信息</th>
                                            <th>网站程序</th>
                                            <th>更新方式</th>
                                            <th>采集顺序</th>
                                            <th>操作</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr sort='1' id='1'>
                                            <td class="id">1</td>
                                            <td>肥仔快乐网1</td>
                                            <td>https://www.hao123.com</td>
                                            <td>
                                                <img src="https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=3686821053,1901843431&fm=27&gp=0.jpg" width="50px">
                                            </td>
                                            <td></td>
                                            <td></td>
                                            <td></td>
                                            <td></td>
                                            <td>110</td>
                                            <td></td>
                                            <td></td>
                                            <td></td>
                                            <td></td>
                                            <td></td>
                                            <td></td>
                                            <td></td>
                                            <td>
                                                <button type="button" class="btn btn-xs btn-primary" onclick="showModal()">
                                                    审核
                                                </button>
                                            </td>
                                        </tr>
                                        <tr sort='2' id='2'>
                                            <td class="id">2</td>
                                            <td>肥仔快乐网2</td>
                                            <td>https://www.baidu.com</td>
                                            <td>
                                                <img src="https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=2410045890,2232835270&fm=27&gp=0.jpg" width="50px">
                                            </td>
                                            <td></td>
                                            <td></td>
                                            <td></td>
                                            <td></td>
                                            <td>119</td>
                                            <td></td>
                                            <td></td>
                                            <td></td>
                                            <td></td>
                                            <td></td>
                                            <td></td>
                                            <td></td>
                                            <td>
                                                <button type="button" class="btn btn-xs btn-primary" onclick="showModal()">
                                                    审核
                                                </button>
                                            </td>
                                        </tr>
                                        <tr sort='3' id='3'>
                                            <td class="id">3</td>
                                            <td>肥仔快乐网3</td>
                                            <td>https://www.baidu.com</td>
                                            <td>
                                                <img src="https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=3686821053,1901843431&fm=27&gp=0.jpg" width="50px">
                                            </td>
                                            <td></td>
                                            <td></td>
                                            <td></td>
                                            <td></td>
                                            <td>119</td>
                                            <td></td>
                                            <td></td>
                                            <td></td>
                                            <td></td>
                                            <td></td>
                                            <td></td>
                                            <td></td>
                                            <td>
                                               <button type="button" class="btn btn-xs btn-primary" onclick="showModal()">
                                                    审核
                                                </button>
                                            </td>
                                        </tr>
                                        <tr sort='4' id='4'>
                                            <td class="id">4</td>
                                            <td>肥仔快乐网4</td>
                                            <td>https://www.baidu.com</td>
                                            <td>
                                                <img src="https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=2410045890,2232835270&fm=27&gp=0.jpg" width="50px">
                                            </td>
                                            <td></td>
                                            <td></td>
                                            <td></td>
                                            <td></td>
                                            <td>119</td>
                                            <td></td>
                                            <td></td>
                                            <td></td>
                                            <td></td>
                                            <td></td>
                                            <td></td>
                                            <td></td>
                                            <td>
                                                <button type="button" class="btn btn-xs btn-primary" onclick="showModal()">
                                                    审核
                                                </button>
                                            </td>
                                        </tr>

                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- 审核弹框 -->
    <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                        &times;
                    </button>
                    <h4 class="modal-title" id="myModalLabel">站点审核</h4>
                </div>
                <form class="form-horizontal" role="form">
                    <div class="modal-body">
                        <div class="form-group">
                            <label class="col-sm-1 control-label autoW">审核结果</label>
                             <div class="col-sm-10">
                                <label class="radio-inline">
                                    <input type="radio" name="optionsRadiosinline" value="1" checked>通过
                                </label>
                                <label class="radio-inline">
                                    <input type="radio" name="optionsRadiosinline" value="0">不通过
                                </label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-1 control-label autoW">审核备注</label>
                            <div class="col-sm-10">
                                <textarea type="text/plain" style="width:100%;height:100px;"></textarea>
                            </div>
                        </div>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                        <button type="button" class="btn btn-primary">提交</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
    <!-- 审核弹框end -->   


    <script src="js/jquery.min.js?v=2.1.4"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>
    <!-- <script src="js/content2.min.js?v=1.0.0"></script> -->
    <script src="js/plugins/sweetalert/sweetalert.min.js"></script>
    <script src="js/plugins/layer/layer.min.js"></script>
    <script type="text/javascript" src="http://tajs.qq.com/stats?sId=9051096" charset="UTF-8"></script>
    <script src="//apps.bdimg.com/libs/jqueryui/1.10.4/jquery-ui.min.js"></script>
    <script type="text/javascript">
        $('.deleteBtn').click(function () {
            swal({
                title: "您确定要删除这条数据吗",
                text: "删除后将无法恢复，请谨慎操作！",
                type: "warning",
                showCancelButton: true,
                confirmButtonColor: "#DD6B55",
                confirmButtonText: "删除",
                closeOnConfirm: false
            }, function () {
                swal("删除成功！", "您已经永久删除了这条数据。", "success");
            });
        });
        function showModal(){
            $('#myModal').modal('show');
        }
        
    </script>

    <script>
      $(function() {
        var prevID,nextID,curID;
        var fixHelperModified = function(e, tr) {
            var $originals = tr.children();
            var $helper = tr.clone();
            $helper.children().each(function(index) {
                $(this).width($originals.eq(index).width())
            });
            return $helper;
        },
        updateIndex = function(e, ui) {
            // $('td.id', ui.item.parent()).each(function (i) {
            //     $(this).html(i + 1);
            // });


            // $('td.id', ui.item[0]).each(function (i) {
            //     console.log($(this).html())
            // });

            var data = {
                prevID:prevID,
                curID:curID,
                nextID:nextID
            }

            console.log(data);

        },
        sortMethod = function(e,ui){
            cur_item = ui.item; 
            cur_id = cur_item.attr("id"); 
            curID = parseInt(cur_id);

            prev_item = $(this).find('tr').filter('.ui-sortable-placeholder').prev('tr');
            prev_id = prev_item.attr('id');
            prevID = parseInt(prev_id);


            next_item = $(this).find('tr').filter('.ui-sortable-placeholder').next('tr');
            next_id = next_item.attr('id');
            nextID =  parseInt(next_id);
           
        };

        $("#sort tbody").sortable({
            helper: fixHelperModified,
            sort: sortMethod,
            stop: updateIndex
        }).disableSelection();
      });
    </script>






</body>


<!-- Mirrored from www.zi-han.net/theme/hplus/empty_page.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:19:52 GMT -->
</html>
